Class Honeypot

Summary

Fully Qualified Name: CodeIgniter\Filters\Honeypot
Implements: FilterInterface

Description

Honeypot filter

Methods

Name Description Defined By
after() Attach a honeypot to the current response. Honeypot
before() Checks if Honeypot field is empty; if not then the requester is a bot Honeypot

Method Details

after()

Attach a honeypot to the current response.

Parameter Name Type Description
$request \CodeIgniter\HTTP\RequestInterface
$response \CodeIgniter\HTTP\ResponseInterface

Returns: void

before()

Checks if Honeypot field is empty; if not then the requester is a bot

Parameter Name Type Description
$request \CodeIgniter\HTTP\RequestInterface

Returns: void

Top